package com.ruoyi.order.mapper;

import java.util.List;
import com.ruoyi.order.domain.MesOrderPalletRecord;

/**
 * 托盘占用记录Mapper接口
 * 
 * @author guoxl
 * @date 2025-04-15
 */
public interface MesOrderPalletRecordMapper 
{
    /**
     * 查询托盘占用记录
     * 
     * @param id 托盘占用记录主键
     * @return 托盘占用记录
     */
    public MesOrderPalletRecord selectMesOrderPalletRecordById(Long id);

    /**
     * 查询托盘占用记录列表
     * 
     * @param mesOrderPalletRecord 托盘占用记录
     * @return 托盘占用记录集合
     */
    public List<MesOrderPalletRecord> selectMesOrderPalletRecordList(MesOrderPalletRecord mesOrderPalletRecord);

    /**
     * 新增托盘占用记录
     * 
     * @param mesOrderPalletRecord 托盘占用记录
     * @return 结果
     */
    public int insertMesOrderPalletRecord(MesOrderPalletRecord mesOrderPalletRecord);

    /**
     * 修改托盘占用记录
     * 
     * @param mesOrderPalletRecord 托盘占用记录
     * @return 结果
     */
    public int updateMesOrderPalletRecord(MesOrderPalletRecord mesOrderPalletRecord);

    /**
     * 删除托盘占用记录
     * 
     * @param id 托盘占用记录主键
     * @return 结果
     */
    public int deleteMesOrderPalletRecordById(Long id);

    /**
     * 批量删除托盘占用记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMesOrderPalletRecordByIds(Long[] ids);
}
